﻿using System.ComponentModel;
using System.Xml.Serialization;

namespace Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule
{
    public class PasswordUser : SecurityUser
    {
        [Category("Basic")]
        [Description("The password for this user.")]
        [XmlAttribute("password")]
        public string Password { get; set; }

        [Category("Basic")]
        [Description("The display name for this user. If this is not set, the name will be used as the display name.")]
        [XmlAttribute("display")]
        public string Display { get; set; }

        public PasswordUser()
            : base(SecurityUserType.PasswordUser)
        {
        }
    }
}